package com.ruoyi.books.domain;

import java.util.List;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 非遗分类汇总对象 books_category
 * 
 * @author FeiYiLand
 * @date 2024-03-25
 */
public class BooksCategory extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 分类ID */
    private Long categoryId;

    /** 分类名称 */
    @Excel(name = "分类名称")
    private String categoryName;

    /** 描述图片 */
    @Excel(name = "描述图片")
    private String categoryImg;

    /** 非遗项目总信息 */
    private List<BooksAll> booksAllList;

    public void setCategoryId(Long categoryId) 
    {
        this.categoryId = categoryId;
    }

    public Long getCategoryId() 
    {
        return categoryId;
    }
    public void setCategoryName(String categoryName) 
    {
        this.categoryName = categoryName;
    }

    public String getCategoryName() 
    {
        return categoryName;
    }
    public void setCategoryImg(String categoryImg) 
    {
        this.categoryImg = categoryImg;
    }

    public String getCategoryImg() 
    {
        return categoryImg;
    }

    public List<BooksAll> getBooksAllList()
    {
        return booksAllList;
    }

    public void setBooksAllList(List<BooksAll> booksAllList)
    {
        this.booksAllList = booksAllList;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("categoryId", getCategoryId())
            .append("categoryName", getCategoryName())
            .append("categoryImg", getCategoryImg())
            .append("booksAllList", getBooksAllList())
            .toString();
    }
}
